<script>
	export default {
		onLaunch: function() {
			let token = uni.getStorageSync('token')
			if (token) {
				uni.reLaunch({
					url: '/pages/agent/index'
				})
			}
		},
		onShow: function() {},
		onHide: function() {}
	}
</script>

<style>
	/*每个页面公共css */
	page {
		width: 100%;
		height: 100%;
		color: #333333;
	}
</style>
